<template>
  <div class="iButton2">
    <a class="link" :href="_href" :target="_target">
      <i v-html="_icon">{{ _icon }}</i>&nbsp;&nbsp;
      <span class="title transition-font"> {{ _title }}</span>
    </a>
  </div>
</template>
<script>
  export default {
    name: 'iButton2',
    props: {
      _title: {
        type: String,
        required: true
      },
      _icon: {
        type: String,
        required: true
      },
      _href: {
        type: String,
        default: '#'
      },
      _target: String
    }
  }
</script>
<style lang="scss" scoped>
  .iButton2 {
    display: inline-block;
    text-align: center;

    .link {
      text-decoration: none;
      color: #000;

      .title {
        font-size: .75em;
        font-weight: 500;
      }
    }
  }
</style>
<!--
 fa-lg
 fa-2x
 fa-3x
 fa-4x
 fa-5x
-->
